package com.sakura.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @author : Sakura
 * @Date : 2023/12/26 10:20
 * @Description : TODO
 */
@ApiModel(description = "检查记录视图对象")
@Data
@Accessors(chain = true)//链式编程
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class CheckRecordDetailVO {
    /**
     * 记录信息
     */
    private Long id;
    private Double param;
    private String conclusion;
    private Integer finished;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;


    /**
     * 老人信息
     */
    private Long elderlyId;
    private String elderlyName;
    private String elderlyPhone;
    private String elderlyRoomNumber;
    private String elderlySex;
    private Integer elderlyAge;

    /**
     * 项目信息
     */
    private Long projectId;
    private String projectName;
    private Double max;
    private Double min;
    private String image;
}
